package com.study.sqlSession;

import com.study.pojo.Configuration;
import com.study.pojo.MappedStatement;

import java.util.List;

public interface Executor {


    <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object object) throws Exception;

    int update(Configuration configuration, MappedStatement mappedStatement, Object object) throws Exception;
}
